
<?php get_header() ?>
<div id="main" class="row">
    <div class="small-8 large-8 column">
        <div class="main-content">
            <div class="bread-crum">
                <p><?php if (function_exists('breadcrumbs')) breadcrumbs(); ?></p>
            </div>
            <div class="news-main">
                <?php if (have_posts()): while (have_posts()): the_post(); ?>

                        <div <?php post_class(); ?>>

                            <div class="thumbnail left">
                                <img src="<?php echo get_post_meta(get_the_ID(), 'thumbnail', true); ?>"/>
                            </div>

                            <div class="news-post right">
                                <div class="post-metadata">
                                    <p><i class="fi-calendar"></i><?php the_time(); ?></p>
                                </div>

                                <h5 id="post-<?php the_ID(); ?>">
                                    <a href="<?php the_permalink(); ?>" title="Permanent link to <?php the_title(); ?>"><?php the_title(); ?></a>
                                </h5>

                                <div class="post-content">
                                    <p>
                                        <?php the_content('Xem thêm &hellip;'); ?>
                                        <?php /* the_excerpt(); */ ?>
                                    </p>
                                </div>
                            </div>

                        </div>

                    <?php endwhile; ?>

                    <div class="post-navigation">
                        <div><?php posts_nav_link('', 'Next Entries &raquo;', ''); ?></div>
                        <div><?php posts_nav_link('', '', '&laquo; Previous Entries'); ?></div>
                    </div>

                <?php else: ?>
                    <!-- No posts found -->
                <?php endif; ?>
            </div>
        </div>
    </div>
    <!--end .main-content-->
    <div class="sidebar small-4 large-4 column">
        <?php get_sidebar() ?>
    </div>
    <!--end .sidebar-->
</div>
<!--end #main-->
<?php get_footer(); ?>
